home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 08 - 1992 / 08.03 Jul 92 / Equation Compiler / Demo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-11-06  |  644 b   |  32 lines  |  [TEXT/KAHL]

  1. /* Header file for demo program */
  2.  
  3. #define    NULL    ((void *) 0)
  4.  
  5. /* nongraphic char codes */
  6. #define    CLEAR_KEY    (char) 0x1B
  7. #define    ENTER        (char) 0x03
  8. #define    TAB            (char) 0x09
  9. #define    RETURN        (char) 0x0D
  10.  
  11. /* macros for dialog box */
  12. #define    QUIT            1
  13. #define    COMPILE        2
  14. #define    PLOT            3
  15. #define    FUNCTION        4
  16. #define    COEFF_A        11
  17. #define    MIN_X        20
  18. #define    MAX_X        21
  19. #define    MIN_Y        22
  20. #define    MAX_Y        23
  21. #define    FRAME        24
  22.  
  23. /* function prototypes */
  24. void            InitStuff(void);
  25. void            PlotEqn(void);
  26. void            SyntaxErr(int);
  27. extended        GetEditField(int);
  28. pascal Boolean    DialogFilter(DialogPtr, EventRecord *, int *);
  29. pascal void    FramePlot(DialogPtr, short);
  30.  
  31.  
  32.